local skill = fk.CreateSkill{
  name = "#set_strategy",
}

local ls = require "packages/lvshi/utility"

skill:addEffect(fk.GameStart, {
  global = true,
  mute = true,
  can_refresh = function(self, event, target, player, data)
    return ls.getTrueStrategy(player) ~= "none"
  end,
  on_refresh = function(self, event, target, player, data)
    ls.setStrategy(player, ls.getTrueStrategy(player))
  end,
})

return skill